import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Myelementui from '@/components/Myelementui'
import Mybutton from '@/components/Mybutton'
import Mytable from '@/components/Mytable'
import MyTableFastMock from '@/components/MyTableFastMock'
import MyDepartment from '@/components/MyDepartment'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/mybutton',
      name: 'Mybutton',
      component: Mybutton
    },{
      path: '/mytable',
      name: 'Mytable',
      component: Mytable
    },{
      path: '/myTableFastMock',
      name: 'MyTableFastMock',
      component: MyTableFastMock
    },{
      path: '/myDepartment',
      name: 'MyDepartment',
      component: MyDepartment
    },
  ]
})
